Total Complexity | 23 |
Dependencies | 0 |
Dependents | 3 |
Total lines | 160 |
Lines of code | 78 |
Logical lines of code | 31 |
Comment lines | 67 |
Methods | 9 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_current() | 48 | 8 | 36 | |
maybe_extract_ip() | 59 | 6 | 15 | |
expand() | 66 | 3 | 9 | |
is_current_private() | 77 | 1 | 3 | |
is_current_public() | 79 | 1 | 3 | |
expand_v4() | 77 | 1 | 3 | |
normalize_v4() | 78 | 1 | 3 | |
expand_v6() | 76 | 1 | 3 | |
normalize_v6() | 77 | 1 | 3 |